from django.urls import path, include
from app import views
from rest_framework import routers
from django.urls import re_path as url
router = routers.DefaultRouter()
# router.register(r'users',views.UsersViewSet)
# router.register(r'tabs',views.tabViewSet)
urlpatterns = [
    url(r"^", include(router.urls)),
    url("permission", views.Permissions.as_view()),
    url("permiss",views.Permiss),
    url("role", views.Roles.as_view()),
    url("userinfo", views.UserInfos.as_view()),
    url("login", views.Login),
    url("questions",views.Question.as_view()),
    url("questype", views.QuestionTyp.as_view())
    # url('users',views.UsersView.as_view()),
    # url('tabs',views.TabsView.as_view())
]

